package com.kyh.service.sys;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.kyh.sys.entity.Admin;
import com.kyh.vo.BootstrapTableVoJA;
import com.kyh.vo.R;

public interface AdminService {

	R add(Admin entity) throws Exception;

    R edit(Admin entity) throws Exception;

    R login(
    		HttpServletRequest request,
    		HttpServletResponse response,
    		String adminloginname,
    		String adminpassword,
			String imgcodevalue
    		);

    R deleteFalse(Long adminid) throws Exception;

    R deleteTrue(Long adminid);

	BootstrapTableVoJA search(Admin cond);
}
